<?xml version="1.0" encoding="UTF-8"?>
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html 
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License. 
* The Original Code is Openbravo ERP. 
* The Initial Developer of the Original Code is Openbravo SL 
* All portions are Copyright (C) 2007 Openbravo SL 
* All Rights Reserved. 
* Contributor(s):  ______________________________________.
************************************************************************
-->
<REPORT>
  <template file="ReportInvoicesEdit.html"/>
  
  <PARAMETER id="paramDirection" name="direction" default=""/>
  <PARAMETER id="paramLanguage" name="paramLanguage" attribute="value"/>
	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>

  <structure name="structure1">
    <FIELD id="fieldNamebpartner">namebpartner</FIELD>
    <FIELD id="fieldInvoiceid">invoiceid</FIELD>
    <FIELD id="fieldInvoicedocumentno">invoicedocumentno</FIELD>
    <FIELD id="fieldDocnoorder">docnoorder</FIELD>
    <FIELD id="fieldDescriptioninvoice">descriptioninvoice</FIELD>
    <FIELD id="fieldDateinvoiced">dateinvoiced</FIELD>
    <FIELD id="fieldLine">line</FIELD>
    <FIELD id="fieldNameproduct">nameproduct</FIELD>
    <FIELD id="fieldQtyinvoiced" format="euroInform">qtyinvoiced</FIELD>
    <FIELD id="fieldUomsymbol">uomsymbol</FIELD>
    <FIELD id="fieldPriceactual" format="priceInform">priceactual</FIELD>
    <FIELD id="fieldTax">tax</FIELD>
    <FIELD id="fieldBase" format="euroInform">base</FIELD>
    <FIELD id="fieldLinenetamt" format="euroInform">linenetamt</FIELD>
    <FUNCTION id="functionSumBpartner" name="SUM" format="euroInform">linenetamt</FUNCTION>
    <FUNCTION id="functionSumInvoice" name="SUM" format="euroInform">linenetamt</FUNCTION>
    
    <SECTION id="sectionBPartner" field="namebpartner"/>
    <SECTION id="sectionInvoice" field="invoiceid"/>
    <SECTION id="sectionDetail"/>
  </structure>
</REPORT>
